﻿namespace TypeScriptProxyGenerator
{
    using System;

    public sealed class TSGenAttribute : Attribute
    {
        public TSGenAttribute(TSGenTag tag = TSGenTag.None)
        {
            Tags = tag;
        }
        /// <summary>
        /// For tagging class, whether they are rewrote as data class or ServerProxy
        /// </summary>
        public TSGenTag Tags { get; set; }

        /// <summary>
        /// For Controller(Proxy) method, specify the return type of the JSON data (as opposed to <c>JsonResult</c>).
        /// </summary>
        public string ReturnType { get; set; }
    }
}
